<!--{eval require_once("template/banzhuan_xiaomibbs/touch/portal/list_data.php");}-->
<!--{eval $list_count=0;}-->
<!--{loop $manylist $thread}-->
<!--{eval $list_count+=1;}-->
<div class="bz-card bz-p10">
	<div class="bz-card-title">
		<!--{if $thread['attachment'] == 2}-->
		<!--{eval $table='forum_attachment_'.substr($thread['tid'], -1);}-->
		<!--{eval $query = DB::fetch_all("SELECT aid,tid,description,filename FROM ".DB::table($table)." WHERE tid='$thread[tid]' AND isimage!=0 ORDER BY `dateline` DESC LIMIT 0,2"); }-->
		<!--{eval $thread['pics']=count($query);}-->
		<div class="bz-card-title-pic">
			<!--{eval $i=1}-->
			<!--{loop $query $pic}-->
			<!--{if $i<2}-->
			<a href="forum.php?mod=viewthread&tid=$thread[tid]#aimg_$pic[aid]"><img src="{eval echo(getforumimg($pic[aid],0,200,140))}" alt="{if $pic[description]}$pic[description]{else}$pic[filename]{/if}" title="{if $pic[description]}$pic[description]{else}$pic[filename]{/if}" /></a>
			<!--{/if}-->
			<!--{eval $i++}-->
			<!--{/loop}-->
		</div>
		<!--{/if}-->
		<div class="bz-card-title-a">
		    <a href="forum.php?mod=viewthread&tid=$thread[tid]" onclick="atarget(this)" title="$thread[subject]">
				$thread[subject]
				<p class="color-b"><!--{eval echo messagecutstr(	$thread['message'],70)}--></p>
			</a>
		</div>
	</div>
	<div class="bz-card-info banzhuan-clear">
		<div class="bz-card-info-img">
			<a href="home.php?mod=space&uid=$thread[authorid]&do=profile&mobile=2">
				<img src="uc_server/avatar.php?uid={$thread[authorid]}&size=small" />
			</a>
		</div>
		<div class="bz-card-info-name">
			<a href="home.php?mod=space&uid=$thread[authorid]&do=profile&mobile=2">$thread[author]</a>
			<span>{echo date('Y-m-d', $thread['dateline']);}</span>
		</div>
		<div class="bz-card-info-view">
			<em class="y">$thread[views]次阅读</em>
		</div>
	</div>
</div>

<!--{/loop}-->